package com.bto.solar.work.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
public class ApiLoginReq {
    @NotBlank(message = "登录账号不能为空")
    private String phone;
    @NotBlank(message = "登录类型不能为空")
    private String type;
    private String password;
    private String code;

}
